<template>
<div>
  <a v-bind:href="url">点击</a>
  <img :src="imgUrl">
</div>
</template>

<script>
export default {
  data() {
    return {
      url: 'http://www.baidu.com',
      imgUrl:'https://tse1-mm.cn.bing.net/th/id/OIP-C.8dFKkHQq-p1MlBL704SQPgHaKe?w=195&h=276&c=7&r=0&o=5&pid=1.7'
    };
  },
}
</script>

<style lang="less">

</style>
